Added Take switch case

switch case for take command