add automatic scripts to regenerate from specs