add create-snapshot support