renamed socket.php to entry.php