updated function names in header.php anche headerautoinc.php to make them work