Use an .env file to configure the agent