Updated rpi.php