add a flags_for_all function used in every package - slightly changing convention for packaging functions