build script can now be run from command line more easily
bug fix in builder