add rebuild server script