add collect_profile.py