added logic for when a site comes back online