Reworked the old notebook hack

now also cells work correctly
Merge pull request #749 from twosigma/ildipo/oldnotebook-2

Reworked the old notebook hack