minor changes in script