added snapshot revert to if settings.CREATE_ENV: