Add defaults function to osx module and update lshandlers