made env lookup use appprefix