resolves #437 allow multiple template directories to be specified