Made TEMPLATE_DIRS a tuple, like it should be