Script to resize all images opened in Photoshop to a given max dimension and save for web