added some comments and script sections