Fixes and modifications to the cronagent module