added script to device parameter will use the first it finds.
fixed device detection string, added mkdir for the log dir
added notification message
added killall caja that closes all open windows
Added serial number check
clean up