Nice short script, but I guess it only does jpgs?