added agreement addresses import, fixed some issues in that process