altered attachment script, rel #247

altered attachment script, rel #247