Powershell 2.0 fixes - should work now