added redis connection script