Cleaned up def index to set all profiles