Support overwrite flag