* require pathname to fix the agent - was throwing errors without that