Generator command fix