Add option to choose cxx or python catalyst pipeline