Create folder migrate and add helper_migrate.php into it
Change $output from string to array, and implode it to string after then