Added the regen command