Corrected typo in default template where resource was used in places of resources
added self variable to correct glitch caused by git context inside driver.js on migration