In reply to Pratibhamd:
You asked if what you are doing is correct. As I previously stated, you should only use the run_phase() in your driver. You do not want to mix different phases. My previous response describes the most efficient way to code a driver.