Rewrite the "series" command for the new infrastructure