In a bowl, mix sugar into water, heat for 35 seconds, then stir in yeast. Pour mixture into breadmaker pot
Add in flour
Melt butter for 20-25 seconds, then add it to the breadmaker, followed with the rest of the ingredients, except wieners, then choose dough cycle
Roll flag dough, divide into 8-10 portions, then wrap wieners in them. Let rest for 20-30 mins
Brush with beaten egg, bake on preheated 350F for 20-25 minutes