integrate script_engine to the console