add dbagent script