Fix too creating a new batchfile on each reload