[fix bug 981332] changed the year in copyright statement from static to dynamic

Fixes Linting

Fixes issue with redefined register and a missing line

Removed unnecessary functions & Imports used for printing dynamic year