(deliverable) Simplify script for osx