Added import

and also added the function call to read settings.txt