Added provision for using a module_session field in the programme to set the session in the web service call