Added an output overwrite check

Still need to format the dialog box