How's it going, Jake?
Fine. l've deleted half the Cardassian files.
l can't believe how many subroutines it took to run this ore processor.
lt used to be a large operation.
The Cardassians processed 20,000 tons a day.
- That's a lot of ore. - lt must have been hell.
l heard stories the temperature reached 55 degrees Celsius.
How could the Bajoran workers survive that?
A lot of them didn't.
Delete those files, then l'll show you how to download the new system.
You think we can convert this place into a deuterium refinery?
Absolutely. lt'll take us three, maybe four weeks at the most.
l hope you're planning on eating during the next four weeks.
- l lost track of the time. - We're almost finished, Dad.
Chief, l'm having a problem deleting one of these files.
Have you tried reformatting the data cluster?
- Yeah, but the file's still here. - Let me see.
- That's odd. - What's that, Chief?
The file has no indication what it is. l'd better set it aside for now.
l can transfer it to ops and analyse it in the morning.
Wait a minute.
Unauthorised computer entry detected in ore processing unit five.
Enter access code.
lncorrect code. You have five seconds to enter correct access code.
- Or what? - l don't know.
l'd better stop it.
Warning.
Worker revolt in progress in ore processing unit five.
- Security countermeasures initiated. - What the hell...?
Bajoran workers, your attention please.
Your attempt to seize control of this facility is going to fail.
You are valuable workers, and we wish you no harm.
But if you do not return control of this unit to your Cardassian supervisors,
we must take action.
You have eight minutes to make your decision.
The computer's engaged the magnetic seal. l can't override it.
- Ops to Sisko. - Go ahead.
What is going on? We got a message from Gul Dukat
- regarding some worker revolt. - We saw the same message.
lt seems we've tripped some security programme the Cardassians left.
- We're locked in. - We'll beam you out.
Enter access code.
What?
This security programme thinks there's been a revolt.
lt thinks we're under Cardassian rule.
lt's waiting for an emergency code.
One that the Cardassians never gave us.
- Odo to ops. - Kira here.
My access codes are still valid.
l'll try to override the security programme
but l'm not sure
if my clearance level is high enough.
We'll try to do the same thing here.
Acknowledged.
Odo, what is this all about?
Dukat's message is making my customers nervous,
and when they're nervous, they're not...
- Not now. - ls there anything l can do to help?
Not unless you have a level 9 Cardassian security clearance.
Let's see...
l think l have everything from levels 1 through 7.
l only have levels 1 through 6.
lf you'd like a level 7, l'm sure we can make an arrangement.
- Leave me alone, Quark. - Oh, no.
There's something wrong going on and this is the safest place on the station.
l'll stay right here.
- Any luck? - Nothing.
lt's probably magnetically sealed like the door.
We'd need a phaser to blast it open.
There's no way l can disable the programme from here.
Bajoran workers, your time is running out.
But it's not too late. You can still surrender and save your lives.
Computer. This is the leader of the Bajoran workers.
We surrender.
l'm glad to see you've come to your senses. Stay where you are.
Cardassian security will place you into custody,
but you will not be harmed. You have my word.
- For whatever that's worth. - Now what?
lt sounds like the programme is going to wait for Cardassian security
to enter the all-clear protocol. That'll give us a few minutes anyway.
- What's in here? - Nothing at the moment.
Processed uridium used to pour down that pipe
to a secondary refining facility on level 33 and be purified.
lt's not locked.
That pipe was filled with molten uridium. Security measures weren't needed.
- lt's too narrow to escape through. - l can get in there.
Chief, if he can crawl up this pipe into the machine,
can he get to the ore chute and open that hatch from inside?
Bajoran workers, you have not surrendered to Cardassian security.
lf you do not do so in the next three minutes,
l will be forced to release neurocine gas into the ore processing facility.
l can do it.
Bajoran workers, you have two minutes left
to give yourselves up to your overseers and save your lives.
- Can you hear me, Jake? - Yes, but l can't see a thing.
There should be an opening to your right.
OK, let me see if l can find it.
Even if you were to escape this station...
Ow!
- Are you all right? - l just banged my head on something.
Wait a second. There's a junction here.
lt feels like it goes off in two directions. Which way do l go?
Follow this sound, Jake.
'Do it again, Dad.'
Got it. l'm in the chute.
There should be a small access port in one of the walls.
Found it.
Open the hatch and feel around inside for a handle. lt's shaped like a stirrup.
l never knew how much this man's voice annoyed me.
l can't get hold of it.
You have to pull the handle down. lt's the release for the hatch.
- l'm trying, but l can't... - Don't tense up. Relax.
Just take a deep breath and try again.
l'm sorry but your time has run out.
l was hoping you would be reasonable.
Rest assured that your deaths will serve as an example
to prevent similar incidents in the future.
l got it.
Dax.
Maybe if we bypass the command pathway
and connect the backup with the ODN.
Warning. Workers have escaped from ore processing unit five.
lnitiating stationwide counterinsurgency programme.
Now what?
Attention, Bajoran workers. l will not allow this rebellion to succeed.
lf you do not surrender immediately,
l will be forced to kill every Bajoran on this station.
- l found something. - What is it?
l don't know, some kind of room.
lt sure is dirty.
Doesn't smell too good either.
Looks like some kind of loading bay.
You're right. This is where the uridium ore was separated from the rock.
Then it would be dumped down that chute to the processing facility.
Locked. Chief, is there another way out of here?
Just back down that chute. You know where that leads to.
Sisko to ops.
- Sisko to security. Try yours. - O'Brien to ops.
Jake Sisko to anyone who can hear me.
Something must be interfering with the signal.
What do we do now?
lt's no good. We're cut off from the rest of the station.
Some kind of general dampening field must be disrupting communications.
All right. lt's time for a less subtle approach.
Doctor.
The Cardassians don't miss a trick.
The ironic thing is that field is there to protect ops from the rebelling Bajorans.
We must disable the programme, or a lot of people will get killed.
lf we can regain control of the main computer,
we can wipe the security programme from its memory.
lf l can reroute the APT relay through the secondary buffer,
l might get an independent terminal working.
l've been here three years and was just starting to think of this place as home.
Your home was built by Cardassians. Don't ever forget that.
There's not much chance of that, is there?
- What do you mean, we're trapped? - l mean we're trapped.
l wouldn't be surprised if the entire station is locked down.
But you're a shape-shifter. Excuse me, a changeling.
Change into something and get us out of here.
This force field isn't just protecting the door.
lt goes through the bulkheads, the deck...
There's nowhere for me to go.
You're telling me l'm stuck here with you?
No, l'm stuck here with you. Believe me, a far worse fate.
And stay away from my computer.
Again.
OK, hold on.
- Anything? - Not even a dent.
There has to be something else we can do.
What about all this ore?
As l understand it, uridium is very unstable.
True, but you'd need a strong electrical charge to detonate it.
Can we use that?
lf l had some tools, l could yank out some electrical cable.
Tools.
- How's it coming? - Almost done.
Jadzia!
Get me a med kit. Easy, Jadzia. l have to take a look.
l was reaching toward the ODN conduit,
and a small force field went off and caught my hands.
Second-degree burns, but there isn't any neural damage.
This should relieve the pain.
'Warning. Security in the Operations Centre has been compromised.
lnitiating counterinsurgency programme level 2.
Attention, Bajoran workers.
Your failure to surrender is forcing me to take stronger measures.
ln five minutes, we will begin pumping neurocine gas into the Habitat Ring.
Think of your families as you consider your course of action.
All Cardassian personnel should evacuate the area immediately.
Habitat Ring. Hundreds of people must be trapped in their quarters there.
l believe that's the point, Major.
Computer, access code Garak 1 359.
lronic isn't it? The only place in the galaxy
that still recognises my access code is a Bajoran space station.
lf you can get past the force fields, you must evacuate those people before...
l'd like to help my loyal customers, but it's not that simple.
My access code enables me to move about the station.
Unfortunately, the force fields reappear the moment l pass through a doorway.
You've tried using your code to close the security programme?
Several times, but for some reason Gul Dukat chose
not to trust me with his top level security codes during the occupation.
Garak, do you know a way we can stop this neurocine gas?
We would have to destroy the life support system.
Are you trying to get us all killed?
No, he's right. The gas is released through the life support systems.
Destroy it, and we save everybody in the Habitat Ring.
For 1 2 hours. Then everyone will suffocate when we run out of oxygen.
That gives us 1 2 hours to regain control of this station.
Believe me, Major, it's the only way to save those people.
l believe life support is controlled from over there.
Get down.
Warning. Counterinsurgency programme has been interrupted.
lnitiating counterinsurgency programme level 3.
My fellow Cardassians, l regret to inform you
that Bajoran workers have gained control of this station.
ln all likelihood, l am dead or otherwise incapacitated.
But rest assured, this station will not be allowed to remain in Bajoran hands.
However it is my duty to inform you
that if you do not regain control within two hours,
the station will be destroyed.
Self-destruct sequence initiated.
Come on.
- Come on! - Give me that before you hurt yourself.
l checked the entire security complex. There's no way out.
My father always warned me this would happen.
What? That you'd spend your final hours in jail?
- l could have told you that. - No.
He warned me never to leave home.
He said there were business opportunities right outside my door.
But no, l had to follow the 75th Rule of Acquisition -
''Home is where the heart is, but the stars are made of latinum.''
A lifetime of scheming and plotting, wheeling and dealing,
and what has it got me? One measly little bar.
My uncle Frin owns 30, and my cousin Gaila...
- l know, he owns a moon. - l told you that?
Many times.
lt's a small moon, but it's enough to live on.
Come on, you've done all right for yourself.
What do you know?
l've met a lot of Ferengis in my time,
and the truth is, although some of them may have been more wealthy,
l've never met one more devious.
- Really? - Would l lie?
l guess not.
Thank you, Odo. That means a lot to me.
Now, can l have the phaser back?
No.
- How do your hands feel? - A little better.
Good. l wish l could have done more,
but l can't repair the damage until you're in the infirmary.
- Any luck? - Plenty. Unfortunately, all of it bad.
My personal code can activate any terminal on the station, but that's it.
All l can do is look around.
l can tell you exactly what's going on, but l can't do anything about it.
The only person who can disable the security programme is Gul Dukat.
Maybe the computer can be fooled into thinking you are Gul Dukat.
- Rewrite your code to match his. - Even if l could it wouldn't do any good.
lf l were to input his code, the computer would scan my DNA pattern
to determine if l really were Dukat.
What if we disabled the sensors in ops, so that the computer couldn't scan you?
What a creative idea. lt certainly is worth a try.
Can we disconnect the sensors without anyone else getting hurt?
We'll have to take that chance.
We could switch the sensor input to the backup scanners.
The computer shouldn't feel threatened,
but will be blinded while we make the change.
lf it works, a few seconds are all l'll need.
Major, l'm going to need a hand.
Doctor, what is it exactly about this situation that's making you smile?
You, Garak.
l wonder how many other tailors can rewrite Cardassian security protocols.
l wouldn't venture a guess.
Which reminds me, those pants you wanted altered are ready.
- This is a problem. - What's wrong?
l always suspected that Dukat was paranoid.
He left a large number of interrogative subroutines in his access code.
Meaning what?
The computer is constantly challenging me to prove that l am who l say l am.
Lieutenant, how long before you can disable those sensors?
At least ten minutes.
We may not have that much time. ln fact, l'm sure we don't.
Warning. Unauthorised use of command code.
lnitiating counterinsurgency programme level 4.
On three.
One, two, three.
- You did it. - OK. We have the power cable.
Now we need to pack the uridium around the door.
My phaser's on the ops table. Can anyone get to it?
- The answer is no. - We can't do nothing.
l respectfully disagree. Nothing is about all we can do.
Let me guess. Someone tried to duplicate my access code.
Dukat, what are you doing here?
A short time ago, l had a very strange experience.
l was patrolling the Demilitarised Zone when l received a distress signal...
...from me. Or at least a recording of me.
lt seems the Bajoran workers were rioting on Terok Nor.
l must admit, it piqued my curiosity.
l see, the autodestruct programme has begun.
Well, well, well. You are in trouble.
Where is Commander Sisko?
l trust he wasn't vaporised while asking
for one of those raktajinos he's so fond of.
No, the last we heard, he was trapped in the ore processing unit.
- l wish him well. - Can you help us or not?
Oh, most certainly.
All l have to do is enter my command code and shut down the programme.
- Then do it! - All in good time, Major Kira.
All in good time.
But first, there are a few things we should discuss.
Red leaf tea, please.
Doctor.
What do you want, Dukat?
You'll find l don't react well to that tone of voice, Major.
Garak, grovelling in a corner. That alone makes my trip worthwhile.
- Garak! - Easy, Doctor.
lt would appear that the computer is only targeting non-Cardassians.
lf you'd been here when l designed this programme,
l would have made an exception in your case.
You've always been short-sighted. lt's held you back over the years.
As l recall, your father had the same flaw.
My father's only flaw was trusting you.
Funny, at his trial, your father said his biggest flaw was
that his ambition outweighed his patriotism.
Maybe you two could settle this another time.
You're right, Major.
Believe me, Garak, that time is coming.
Major, why don't you join me in the Commander's office
where we can talk in private?
Oh, l forgot. The replicator.
Well, it's the least l can do.
You can all rise now.
You're safe...for the moment.
Major.
l know time is of the essence, Major, so l'll be brief.
lt's time to re-establish a permanent Cardassian presence on this station.
Nothing too elaborate, mind you.
A garrison would suffice.
l can deploy troops from my ship immediately.
ln return, l'll solve your current dilemma.
You know l will never agree to that.
l'm not sure you have much of a choice.
Dukat, you and l both know neither Bajor nor the Federation
will ever honour an agreement negotiated under a death threat.
l don't expect them to be happy about it,
but once my troops are in place, you'll find it difficult to get them to leave.
Well, let me put it another way.
l will destroy this station
before l ever give it back to the Cardassians.
Yes, l'm sure you would.
But...
would you allow 2,000 people aboard this station to die,
simply because you don't like...us?
Well, there's no need to decide just yet.
We still have a little time left.
30 minutes, in fact.
Why don't l return to my ship so that you'll have time to think about it?
l'll be back in say, 25 minutes.
Dukat. One to transport. Energise.
Energise.
Dukat, if you are seeing this recording, you tried to abandon your post
while the station's self-destruct sequence was engaged.
- That will not be permitted. - This is outrageous.
You have lost control of Terok Nor, disgracing yourself and Cardassia.
Your attempt to escape is no doubt a final act of cowardice.
All fail-safes have been eliminated.
Your personal access codes have been rescinded.
The destruct sequence can longer be halted.
All you can do now is contemplate the depth of your disgrace
and try to die like a Cardassian.
Computer, abort the self-destruct sequence.
This is a priority one override.
Clearance level 9.
Authorisation, Dukat, 51 1 6 green.
Request denied. All authorisation codes are void.
Time to self-destruct, 25 minutes.
Even your own computer programme turns against you.
l always knew your short-sightedness would be your downfall.
l don't see you coming up with any ideas, tailor.
lf you're finished with the insults, we can use some help.
Tell us about the self-destruct sequence.
lt's very simple. When the countdown is completed,
the computer will order the main fusion reactor
to disengage the reaction stabilisers, causing it to overload,
destroying the station.
ls there any way to shut down the reactor?
lt may be possible to manually disengage the laser fusion initiator,
but we have to be in the reactor room.
We can disengage the initiator from a control junction on level 34.
The computer's wiped out the access codes.
Even Cardassians can't get out of here.
We should try to eliminate the force field protecting the door.
We don't have time to eliminate every force field between here and level 34.
We need to deactivate all the force fields on the station at the same time.
OK. That should do it.
lf we use more we risk bringing the whole room down around our heads.
All right, we'd better take cover.
Would you like to do the honours, sir?
Keep your heads down.
lt worked.
l set up this programme,
and l assure you, Major, l will find a way to defeat it.
There's no dilemma that can't be solved by a disciplined, Cardassian mind.
- lt's not going to work. - What are you babbling on about now?
- l'm talking about Major Kira. - What about her?
She's too busy saving this station to be impressed with your posturing.
Garak!
Even if she weren't, she has much better taste than to be attracted to you.
- You, a married man... - l should have executed you long ago.
- You tried, remember? - Garak, this isn't helping.
Wait a minute. What about the power supply grid?
lf we could overload the grid,
we may be able to cause a power surge and short out the force fields.
lt might even eliminate the dampening field
that's keeping us from using our communicators.
Tell me, Major, the neutralisation emitters that were under here -
you deactivated them when you took control of the station?
That's right. We prefer our containment fields to be non-lethal.
- But are the emitters still in place? - As far as l know.
Excellent. Then they weren't affected by the counterinsurgency programme.
That means we still have control of them.
lf we get them on line, we can use them to overload the power grid.
- Exactly. - Will that eliminate the force fields?
We'll lose the lifts and the transporters, but they aren't much use now anyway.
Let's give it a try.
Anything?
After a couple of hundred metres l was stopped.
We didn't even get that far.
There's got to be some way up to ops.
The turbolift shaft.
We can climb it all the way to ops. Let's try to open these doors.
- Dukat, we're running out of time. - l'm almost done.
l've got the emitters wired into the control panel.
Now all l have to do is reattach them to the power grid, like so.
- All right, l'm ready. - Brace yourselves.
- Kira to Sisko. - Go ahead, Major.
Commander, what's your location?
Level 29, section D. What's your status in ops?
ln ten minutes, the main reactor core destroys the station.
To stop it, we must disengage the laser fusion initiator on level 34.
But the turbolifts and transporters are off line.
- They'll never get there in time. - We might.
Mr O'Brien and l will handle the reactor. Begin evacuating the station.
- Get as many people out as you can. - Understood. Good luck.
- Jake, head for runabout pad C. - lt's too far. l'll never make it.
- Listen to me, Jake. - l'm going with you.
All right. Let's go.
Warning. Main fusion reactors will overload in seven minutes.
Tell me something l don't already know.
- Kira to Odo. - Go ahead, Major.
We're beginning evacuation procedures.
The force fields have been deactivated and all the doors should be operable.
All except one.
lt seems the force field around my office is still in operation.
l'll send a work team down immediately.
Warning. Main fusion reactors will overload in six minutes.
Are we the only ones still locked in?
This force field must be on a separate system from the others.
Why keep people out of the security office?
lt's not to keep people out, it's to keep me in.
During the occupation,
the Cardassians considered their security chief a security risk.
l know why.
lt's because they knew you were an honourable man,
the kind of person who'd do the right thing regardless of the circumstances.
And now your integrity is going to get us both killed.
l hope you're happy.
Warning. Main fusion reactors will overload in five minutes.
Did you ever finish upgrading the deflector shields?
Yeah, why?
We can't disengage the fusion initiator.
What if we directed the explosion into the shields?
Good idea. The shields are the only thing that can absorb that much energy.
That power surge must have blown out one of the plasma conduits.
The corridor's completely blocked.
- Can't we get around it? - We don't have time.
There might be a way.
A maintenance conduit's adjacent to this corridor.
lf it's not blocked, we might be able to get around the debris
and get to the reactor control junction. Give me a hand.
l can feel heat through the door.
- What's wrong? - See for yourself.
Warning. Main fusion reactors will overload in three minutes.
- Wait here. - But...
l mean it this time.
l'll go first. Follow five metres behind me.
- lf one of us runs into trouble... - The other one keeps on going.
O'Brien!
Warning. Main fusion reactors will overload in 90 seconds.
Sisko to O'Brien.
Chief, can you hear me?
Chief, answer me.
Warning. Main fusion reactors will overload in 60 seconds.
Warning. Main fusion reactors will overload in 30 seconds.
Jake...
Your father told you to stay out of there.
lf you don't tell him, l won't.
Warning. Main fusion reactor overload.
- O'Brien to Sisko. - Chief, you're all right?
Looks like we all are.
lt's about time. All right, Quark. You can leave now.
''A self-important con artist
''who's nowhere near as clever as he thinks he is.''
That's your official security evaluation of me?
l told you to stay away from the computer.
Two hours ago you said l was the most devious Ferengi you ever met.
l thought we'd die. l was trying to be nice.
Which Ferengi is more devious than me?
- The Grand Nagus. - All right, name another.
- DaiMon Tye. - One you know.
- Your brother, Rom. - My brother!
- Your uncle Frin, your cousin Gaila... - Gaila!