Updated scripts to parse files