use the profile reader function instead of environment variables