import sys so that methods from sys are defined