Modify Agent

added GPS calls to send reply to server.