changed to "else if" and added return TRUE and got rid of use_byte_range