I use ccd autopilot for flats.
I set a target adu for sky flats at 20000adu. Ccdap starts taking the flats soon as the sun is 10 degrees below the horizon. Each flat is dithered so a median combine will subtract the stars out.
I am lazy so I just subtract bias rather than take darks. I should take darks but ...meh
Works for me.
Brett