Added check of the config file
Add the prog variable