modified links to only append necessary data rather than jamming everything