move directory caching to the end of the setup method, that way services and dns fixes are setup first