enabled looping in the source file when not enough lines are present
use hexify_string when outputting connection ids