Added distribmats flag to output setting