Adding localization hook to the boot routine