Hacking together location collection stuff to work. Sort of.