Script to profile app