update scripts to be able to profile any app