It is not necessary that outputroot exist
Normalized template list_* variable names so they use / in windows too