add /generate/:number functionality; add /generate/auto functionality with enabling and disabling