genericize boot script so I can use it outside docker