gah - need to import sys