pacmd shellscript improvements