Update where history.json file is produced