Use environment variables instead. Also changed private attributes of agent to public.
fixed bad post.