Direct (rather than returned) argument inspection

Ensured that the agent could read the arguments from the <module>.run() function of each module directly rather than via a return from <module>.main()