I had a look into that zip and it's script.
It basically wipes /cache, /userdata, /boot, /system and .android_secure. plus some other files that are probably not even on our devices.
There's no need to adapt it. Just tell CWM to wipe all data/factory reset.
also you can format all the other partitions, too in CWM using the "mounts and storage" menu.
Because it is "comfortable" I have decided to port it for our Wildfire S. I'll upload it when I tested it successfully.
This erases ALL partitions (excluding /radio, /misc and /devlog, of course
Afterwards you MUST flash a rom if you want to use your phone
Search the forums
and ask your questions there. I'm no personal supporter, so please don't pm me on everything.
Samsung Galaxy S3