Added datadir creation to config.php