Updated validation error message to be more informative.
Changed settings.py to make sdv.py more easily executed from an external process