support for multiple template paths