Added compression level support