Restore contract generation

Enable again the contract generation via rake task