Added more functions to drop.php