I think before adding an script you have too save the scene