Changed the set config function to open files read only so we can read files in /etc