Right, think i've fixed the teamcity instance now and startup script.