fixed prepare.sh