Added setLatest and modify public key option to TOOLS