Script to search for profiles in SSMatri