-use db store the script that will send to agent