Finished the crappy script.