minor changes to layout and comments in the script