fixed migrate.sh to not replace all occurences of ivory