add auto_flat keyword to batch_windfitz, to avoid evn vars