get and set path so script can run from anywhere

Used os to get path to the script and then concatenate to config/settings.cfg so script can run from where ever it's called.