Updated select.py and background.py to use new Driver API