Updated microphone script to run faster