adding overwrite option

Change-Id: I984a7443eb7d4aed808af6f654066bddad4975cc
Signed-off-by: David Goldberg <david.goldberg@contextream.com>