Added option to set external diff command for structured-generator