Small improvements to the openquake wrapper