more flexible manage.py