modified to match teamcity requirements