renamed model in file names to agent and other fixes