fix sorting of options
add manage.py for production application