take command line arguments
disable export/replace buttons when not sram