add license
merge add_license to master
merge master to add_echo_script
added comment to clarify this complex script ;)