Working from console but not notebook?