Added comments in scripts

I added comments on the scripts I have written, and also some comments
on some of the scripts I have modified to make my changes work ingame.