made config file optional