Added locales and default locale settings to upgrade script