adding envrionment variable to get redis information