ccget: clean up the script a bit