updated 10007 app and presenceapp.py