removed proxy directive
added agent support