This next bit is very specific to one type of server.  Perhaps this should exist as a separate script.