Import sys before using it in default.py