Updated the script
Added license information