added support for locations by id given in store file