making stand-alone graphs work and making the link for it