save the level first with a valid name. then you can add scripts