Adjust the migration script for projects hosted on github