making deprecated writeSheetHead() backwards compatible with last nights commit