added digest boolean and rain probability choice