raise exception error handling
python2 to 3 shebangs