fix files to use env for server connections