Add jpgcrush optimization for JPEG. Also make program paths relative so less editing on test scripts is required.