added code to append private environment variables for non-PRs