minor improvements in hpfeed scripts