added image compression to upload build