What I did is simply run the batch file or linux script, hook up the phone and wait for the CWM installer to talk to the phone through adb.
When I run flashtool, it was detected that my phone was booting up and granting root access etc, but my earlier flashing messed up the system so the bootup...