macos rc script server handling