Saving main scene.
Saving main scene.