Added comments to all scripts. Added an appending file one.