made build scripts better