Fix manage.py script