Rewrite convert setup/CLI