fixed generate_playlist. make_log_current not quite working yet but close