added license and batch for making main.pdf