changing how it reads from config file