use env for rapp parsing