Update settings.py

Working directory is different depending on how file is called.
Added a reset of directory to local and up to find settings.json file.