use functions.php with addonstat