added service restarts to debug toggle