startup and config finalisation