added flag to count unstable builds as success