first edit to manuscript; some changes to script