Remove runningAsScript