Fixed bug in get_secrets.php