Minor bug fix. On some installations, the script threw the infamous "Photoshop could not complete your request because of a program error" when trying to save files. I've now changed to a more robust save method, that I hope solves this for everyone.