adding in restarts if the package changes