Add sample for flag package