replace looking for process with looking for service directory