Tweaked the sheet generation process