added some automation for links