Implemented --force-regenerate option