compress scripts