Added dryrun and verbose flags to agentcontrol