Added Apache2 license to script.