updated the scripts to remove comments