Write prepare.sh but delete it.
Detect a bad setup script and delete it.