fix few args in the agent
delegate backup cleanup to the agent