Allowed changing the variables based on the folder.

Allowed changing the template variables from the compile.json file based
on the folder.