add a script for osx