adding role export so as to not rely on rids.