fix some new scripts