Moved scene definitions out of onload