added links, bash string replace