Retrieving value of elasticserver url from config file in submit-dir.py