global $CONFIG already here

also hardcoded a couple of plugin links