Make args conditions and inputs.