Added show_links option to control if show links or not