updated script for p3G ecouter incl changing file extension