pyx command setup