Modified the attach code