Added compressJpeg script.