changed order of evaluating cmd args
extracted incl guard generation in function
emitting message about changing incl guard in file
emitting message about changing copyright notice
if no incl guard needed file is not written