Clean paths in global.inc template.