Forgot "global $config" here