Moved localization source configuration to pre initialize.