Re-factor retrieval to retrieve from bmsubmit command