Fixed a bunch of powerline stuff