Production improvements in provisions.sh and settings.py