Fixed a bug with spaces in the image name.  Thanks to Tony Garcia for identifying the bug.