Add spreadsheet code to contact model