db setup scripts for mac os x