Pass the selected flags to append()