Handy script utilities