Moved ids/xdata to csvlists