compress script