Added yams-mode.
Fixed OSX path loading.