Change to use right to left template loader