add production mode for command line flashing