use functions.php with cronstats