Checking OS and append event according.

#47