DB inserting now works with paths and stuff.