fixed basebox-name to run, and made build-command write file to cache dir and then return path