added osx path loading