added some fields to location object
changed logging to log back with files