importDatabaseFunctions.php now exists so that the functionality of importDatabase.php is accessible from php code by calling a function.