build scripts and packages