Changed the way parameters are stored in level editor