Moved require-logic to init.php file