Remove the hard coded path in the agent code.