updated and tested all branches after moving files from affiliates directory to there own directory