added http_cmd for executing a command on attachments