try to fix templates again

haven't been able to test this for a number of reasons but it's certainly better than the current non-functional excel import pages and I'm now really 99% certain that this will fix it.