Moved the stuff from /Regen to a Tools method

Will have to start making a nice end all be all function