Create functions.smart.php