Made attachtments on viewTag dynamic