add production db env var and reverted dev
changed the env back for now. will research and get prod mode sometime later.