marginally working ibtun agent
small fix for ibrun