build scripts adjusted