Add hex and py commands