Adding the attach command