updated weight change rule
changed wrongly name dfolder