removed config option from restart function