Fixed bug #1. Added --append option (see readme).