get config path dymanically (kinda shitty though)