add output compression option