added constants properly for functions.php