Made config file working