creating comments to each task and writing csv file for each main migrating task