Change mode of manage.py file