adds database hooks to Jon's markup for no map