minor changes to helper scripts