Fixed up Daniels's shit (JOKING IT'S AWESOME) code. #6