moved redis connection params to environment