environment hooked up for restart