Rewrote path_exists?
Fix function return
Database changes
Two style changes