protected function execute() {
		if($this->isPending('initOutput')) {
			Pap3Compatibility_Migration_OutputWriter::reset();
    	   	Pap3Compatibility_Migration_OutputWriter::logOnce("Starting migration<br/>");
			$this->setDone();
		} else {
			Pap3Compatibility_Migration_OutputWriter::initialize();
		}

		if($this->isPending('deleteFromTables')) {
    		$this->deleteFromTables();
			$this->setDone();
		}

		if($this->isPending('migrateCampaigns')) {
    		$this->migrateCampaigns();
    		$this->setDone();
		}

		if($this->isPending('migrateBanners')) {
			$this->migrateBanners();
			$this->setDone();
		}

        if($this->isPending('migratePayouts')) {
            $this->migratePayouts();
            $this->setDone();
        }

		if($this->isPending('migrateAffiliates')) {
			$this->migrateAffiliates();
			$this->setDone();
		}
		
		if($this->isPending('migrateSettings')) {
			$this->migrateSettings();
			$this->setDone();
		}

		if($this->isPending('migrateTransactions')) {
			$this->migrateTransactions();
			$this->setDone();
		}
   	}