cleanup code, is in basebox-slave provision script