Fixing templates
Doing pdf