Customizing .osx script