Added LICENSE and README files.

Fixed a bug in the script that was causing it to fail on PowerShell 3.0.