updated Startup script for mac