Template Files corrected
Inital Test-Run Bug Fixes

All bugs minor and pertained to either incorrect read/wrting of lines
or typos