updated to the install.php to use createFunctions