error catching for subprocess call
get setup script to work
add missing import