Changed restart function to allow it to confirm to manager