Fixed several mistakes. Added the PYTHONPATH trick.