adjust script so that it can be used for setting up buildmachines for lightbuildserver as well