Update prepare-core.sh