Local agent system #2

corrected communication between local and global agents systems