added role specifics to meta field generation