minor tweaks of grabmarketdata.py script