Changed CompressImage script a whole lot.