edited rake file and impact file for min_purchase and return