Major fix of dissolve to maintain fields. I hate regex. All scripts tested and working now.