Copy of SkyGen 1.0