Change merge appcat.py into dpi.py