fix in_context
run scripts with run context as this