Added script exit if synthesis error