import sys was missing...