maintain script order