updated scripts and modified parser main