write ioslides lua to output directory