minor changes

minor changes to make scripts more readable