Add functions.inc.php for generic functions