The Evil Core has taken over GLaDOS and plans to use her weapons to destroy the world! As the last person alive in Aperture, it is your duty to stop him! With the help of the Blue Core, erase Evil's memory banks and revert his hacks to the system before it is too late!
This was how I scripted each level on Coretex Cluster for portal 1.
The portal 2 version is MUCH cleaner!