Modified global ctx, open, bind