Removed duplicate header creation code

Accomplished by creating a buildHeader script.