updated env file loader in index.php