add curl profile example.
minor changes for profile data path.