updates to make restart work and multi pis work together