How small molecules betray dust evolution in planet forming disks