Update EyeFiDoxieScript.scpt

Added in a detect for the "replace file" dialog which bails out to wait for user input.
Fixed a bug where the quit and delete function was not executing properly.