Added new OS X script and updated the global .gitignore file