Adds Python imports, etc to make usercode.py
Fixed typos