typically a "polarization procedure" needs to be performed if either the generator, or voltage regulator or the ground has been switched from one polarity to another. and possibly any other device in the charging circuitry.
i'd recommend googling "polarizing a generator", and start from there. although i'm sure there are those on this forum that know how to go about it.