Declare $config as global to fix problems on pkg install.
Tidy up syntax to match other include file calls.