Dude!! set-executionpolicy unrestricted - Uh, NO!
If you don't have your exectutionPolicy set prior to this, you shouldn't be running any script. Also, I'd document this quite a bit better so that people know what you're doing. From a PowerShell perspective, I wouldn't run this.