Update scripts to remove mkdir errors