Added headers and playlist looping mode