refactored for relative pathes
added extends to osx.ini