General tool scripts.