set unix line endings when creating .sh script, added osx and sh splicers to xml reader