20141226 Modified index.php for auto-database import. By: L.A