On and Off Script Implemented