Major changes to orientation setting. All files work fine now