Fixed LevelScript for new implementation.