added on/off switch for writing mairlist-playlist