Use environment variable when run with production