modernize generator