Put all scene handling in lua.