added server rebooter script and bugfixes