if($public_key == null || $private_key == null) { echo "Please provide the public (puk) and private (prk) keys"; return; } $service_url = get("su"); if($service_url != null) { Vuzit_Service::setServiceUrl($service_url); } Vuzit_Service::setPublicKey($public_key); Vuzit_Service::setPrivateKey($private_key); Vuzit_Service::setUserAgent("Vuzit Test Suite"); // Grab the command and execute switch(get("c")) { case "load": load_command(); break; case "upload": upload_command(); break; case "delete": delete_command(); break; case "event": event_command();