added code to utilize autocard link