compress and decompress cmds