added license to script and the LICENSE file