Checking OS and append event according.
Merge pull request #48 from Gizra/47

Checking OS and append events according.