added rdiscount smart extension