merged some lines and added net-tools for the stop-idle-mpd.sh script