Added support for auto refresh and rebuild from interface
added support for chmodding on nix machines
Fixed startBuild
better logging