* modify source code to deploy to mac os x