updated plot2dev

store OS string instead of making repeat syscalls in compare