prepend relative paths to be absolute
check len of hist_text list
instantiate list for hist_text
add pdb