added osx to save script