[BUGFIX] Replace .env parsing with reading from environment