Variable name change in pictureLib.php