updated some build scripts