Add copyright header
Add code to append SQ tags to header
Fix asprintf format specifiers