rebuilding service and config module