This is the Python script to use with scanbuttond for the most