Added support fro global PATH variable in template