Updated outlist to contain a newline character so that app.py reads correctly