a good substitute for flour in oatmeal cookies is instant oats. be sure to add them to your food processor and process until its turned into a flour. do not use rolled oats to make the flour, it will be too tough, instant oats can be pulverized much easier.