Added config file basic logic