Tweaked tesla logic to allow for other mods to utilize