added send hook. added $o to sandbox.