cleaned script Orientation