Updated to work with the new config
The body of contracts are now returned instead