Added function for doing rolling of contracts.