   File file = SD.open("ULISP.IMG");
   if (!file) error(PSTR("Problem autorunning from SD card"));
   object *autorun = (object *)SDReadInt(file);
-  object *nullenv = NULL;
   file.close();
   if (autorun != NULL) {
     loadimage(NULL);
-    apply(autorun, NULL, &nullenv);
+    apply(autorun, NULL, NULL);
   }
 #else
-  object *nullenv = NULL;
   object *autorun = (object *)eeprom_read_word(&image.eval);
   if (autorun != NULL && (unsigned int)autorun != 0xFFFF) {
     loadimage(nil);
-    apply(autorun, NULL, &nullenv);
+    apply(autorun, NULL, NULL);
   }
 #endif
 }

      object *envcopy = NULL;
      while (env != NULL) {
        object *pair = first(env);
        if (pair != NULL) {
          object *val = cdr(pair);
          if (integerp(val)) val = number(val->integer);
          push(cons(car(pair), val), envcopy);
        }
        env = cdr(env);
      }
      return cons(symbol(CLOSURE), cons(envcopy,args));

  initworkspace();
  initenv();
  initsleep();
  pfstring(PSTR("uLisp 2.7 "), pserial); pln(pserial);
}

// Read/Evaluate/Print loop
