checkpoint, working on fixing gzip and content type, metadata