Undid script optomizations