Partially cleaned up localbot