The court shall hear such petition or complaint solely on the record made before the Secretary. Except as provided in subsection (a), the findings of the Secretary if supported by substantial evidence on the record considered as a whole, shall be conclusive. The court may affirm, vacate, or modify any order or decision or may remand the proceedings to the Secretary for such further action as it may direct.