Added a new API method "execute_script" that allows "--input-log"-style scripts to be executed interactively from the CLI. It's not exactly polished right now, but it's sufficient for script debugging.