minor edits to scripts