Adding a bunch of random hackery that seems to be doing something.