simpify run_sql