removed configure from restart function