remove unused dependencies
add options.compress for setting compression
refactor steps