Variable not setting until file is reloaded?

Hello,

I have an addon with a config file, and all I get is errors when i first open the menu which requires variables that are set in the config. When i go back into either the config or main file and re-save it, and test it, it works. Why’s this happening and how can I fix it? BTW, both files are in lua/autorun/client.

Do you have AddCSLuaFile/include in any of the files?

EDIT: If not, since it’s a client file, do this inside the config.lua file

include(“filename.lua”)