add get_volume, is_mute methods, don't run the main code unless the script is called directly