Removed METADATA_PICKLE from params.py imports
Added shell=True to gzip subprocess command