added flac support