Updated layout and add variables to download.php scripts.