fixed it so the test script won't reorient already oriented files