preps for the templating of the local.xml