Tweaks to make it work on powershell 2.0. Also submodule update code...