added licence for this script