Added playlist parameter so that one can specify a custom sequence