added toggle script