modified contributions script