Made Redis agent set pref and sources files
Merge pull request #78 from TimSimpsonR/redis-prepare

Redis prepare