Changed copyright
Copyright year parameterized
Fixed error
Moved year variable outside loop