Use config file info

@chriddyp Please test.
I told you, I could not code last night... :(