Updated safe_pull.php