Added env to server helper. Made indexes with ~ not be auto converted. Fix host lookup crash.