add manage_p.py