added include blocks to template parser