upgrade script function name normalize