Added and modified new scripts for OSX deployment.