glue_run_statement function

Executes the statement