Fixed a typo
Added support for compression