Refactoring Flarum import script using AI LLM to migrate to Discourse