As far as I know, UIFlow2 does not automatically upload Python files in “Project Files” when importing a custom block from .m5b2. Manual uploading is still required to get blocks working on the device. To reduce this step for students, consider writing a block or script that automatically uploads the necessary Python files.