Added comments to the sample scripts. Modified the license text