Added ParseEnv() and made code less vulnerable