Compressor and generator refurbishment