There is a problem with accessing the database - it's not a relative
path at the moment which is a pretty big oversight. Quickly changed to
allow testing but this needs fixing.