Cleaning up notebook