added possibility to compress output, added short help