Add if statment to create cat link