Separate out snapshot creation from pruning steps