setting names of first and second active profiles to system properties