removed "print_links," was killing terminal