Boil potatoes in salted water until soft.
This takes about 15 minutes.
Drain the water completely.
Mash potatoes until smooth and creamy.
Add butter, cheese, salt, and pepper.
Mix everything together well.
Let the filling cool while making dough.
Cool filling is easier to work with.
Mix flour, xanthan gum, and salt together.
Create a well in the center.
Add egg, sour cream, and melted butter.
Stir with a fork first.
Add warm water slowly while mixing.
Knead the dough gently for 2 minutes.
The dough should feel soft but not sticky.
Let it rest for 10 minutes covered.
Dust your surface with gluten free flour.
Roll dough to 1/8 inch thickness.
Use your cookie cutter to make circles.
You should get about 24 circles.
Gather scraps and re-roll them carefully.
Don't overwork the dough or it gets tough.
Place one tablespoon of filling in each circle.
Don't overfill or they will burst.
Fold the circle in half carefully.
Press edges together with your fingers.
Use a fork to seal edges firmly.
Make sure there are no gaps anywhere.
Bring a large pot of salted water to boil.
Add 6-8 perogies at a time.
Don't crowd the pot too much.
They will sink first, then float up.
Cook for 2 minutes after they float.
Remove with a slotted spoon carefully.
Place them on a clean towel.
Heat butter in a frying pan.
Add boiled perogies in a single layer.
Fry for 2-3 minutes per side.
They should turn golden and crispy.
This step adds amazing flavor and texture.
Serve immediately while hot and crispy.