Refactor - use the pl parameter when adding playlists