added license to top of script