updating compress and send script