Fix minor bugs and update readme
Take input links from file