Updated the orientation script