adds perl script and working munger code.