added new way to get template urls