simplify init.php