added flag logic for the audio in squats