edited dash app to allow threading