Addeded append option which overrides the default replace