Programmatically Add Attributes