Add debug code because production doesn't save notes