Added alerts and error handling for audio