add compress output option