Code for generating my custom notebooks