Added --overwrite method