Add compactdb subcommand to /hcdata