Ok, fixed that problem. Thank you >>2. Now is there any way to make $config be global so I don't have to define it in my functions?