Added new function : wait for name and wait for name gone on core.php