added REDIS_IP variable