change script-loading order