Update superpass.py

add some error handling and function name changes