set up env in configure instead of jail_code