minor improvement in featurefile generation