Fix logging bug, changed datastore location for serialized output