Thank you very much pfile, You have given me a few things to think about and try. This is what I needed some good advice, I have no idea why I did not think of using pixel math, that should work.
The flats are not overexposed in that all the data is there, but just too bright so it would not work correctly.
I am pretty new to PI and learning all the time.
Many thanks,
Mike