A primary healthcare provider prescribes oxazepam for a client who is beginning to experience withdrawal symptoms while undergoing detoxification. What are the primary reasons that oxazepam is given during detoxification?