Adds support for append mode