add flag to switch between pre-unfolding and unfolded distributions