Added database and dbreplace.php