updated scripts and build tools