OSX: rework the mess that was start script