Updates to newbot.py, fixed basic.py