Append output rather than overwriting