Set context class loader on engine creation and set filename of running script.