New script to change image orientation.