adding auto restart to admin