modified to support new template file naming including project code support