Py script now uses rudimentary MySQL to store info & contains a simple parity check