Added checking for the config file at the beginning of each step of the process. This is begging for refactoring (#68)