added function that returns string of dirs to add to path