add ability to exec_script
add basic test