Updated script with BSD License.