Puttiing in the right template paths to be dynamicaly populated