now works with non OSX Unix OSes