add a mode that allows globals into octascript (for console environment)