making diff default true

-d is not default true

if diff? func does not return, allows completion of script