updated skybox code