some changes in script