Set env.env_name to the current env name, not an arbitrary one.
No naughty wiping out the prod db unless you really mean it