changed index.php, added update_var.sh