Made orientation configurable globally