If you are compressing your images then there is no need to use the 'optimise' feature. When optimising, UMDGen removes all excess padding and dummy files (this is all it does). There is no need to perform this step if compressing as the data 'optimise' would remove will be compressed to almost nothing anyway.