Consolidate templates and add linking function
Add scripts