Updated run.ps1 for use with TeamCity