Various debugging and admin scripts.