changed auto note generation to include valid time

made printing of the note only if it was autogenerated