Added thresholding and updated box coords