added pty handling to striprevolution_rpi, added command line parsing to python scripts