Modified manage.py