Add setting of rel and title attributes from select