Fixed it. Was broken in several places.