added snapshot commands.