fixing up interface, and using notebook directory