Added image compression and copying to dist folder.