added some basic serial functions to our testing script
added basic implementation of websocket port info and flashing for OS X