minor revision to metarelate tool