Adds improved compress.sh logic for imaging site