fix(script): loading order