added short options for gzip, automatic gzip mode