Greatly simplified the resource template