Fix commands for new mandrake versions