Update init.php for Composer compatibility