writing moro notebooks from scala