OSX fixes and path changes for Deploy script