Added a flag to automatically orient objects. Default orientation changed