startmaster and startworker scripts