renamed model->agent (lower case) including file names