try to extract environment varible