fixing the other 2 scripts with correct md