added serial to app.py