cleanup and use ini `datapath' for automsg.txt location