Some helper scripts.