set theItem to create note title currentFileName tags ["imported_from_Notes"] created currentFileDate notebook currentFileFolder from file currentFileLocation
This way, I was able to import my notes bh running the script for each subdirectory, where each subdirectory has notes attributed to a separate Notebook
Someone with more skills than me could probably easily modify your script to get a list of subdirectories and then execute your script for each subdirectory, making the process even easier than it was for me.