handling content as str in write_study
added get_repos function to return repo locations
added exception handling if write does not change repo
fixed get_repos
updated test
updated test
Merge branch 'master' into local