Made Redis agent set pref and sources files