Added the borrow and loan scripts for db visualizer