some changes in scripts