Updated IDF template, batch script, and example