changes so manage.py runs virtualvenv and small config hacks