implement %run_sql_script for external sql script files