One needs to effectively keep your team engaged. It is often necessary to properly explain what needs to be done and why. You and the team may not have to like the reasons why but if you can make them feel that what you’re doing really matters in the bigger picture you can get them to do what needs to be done. Don’t keep them in the dark… The need to know basis of management doesn’t work. People will find out. Communication works up and down the command chain. Keep your boss in the loop. Get their buy in early. It is always better than rushing to them at the last minute to saving your bacon. If it gets to that point the whole team will suffer.