Changed viewer.php some