Misc helper scripts.