add -o flag to allow overwrite of data files