modified instructor.py and syntax errors solved in opensocial.py