split setup into setup, configure, restart