build script can now be called from outside the directory