Why is the `import sys` moved to here?