Add stlib/functions.php