added env var for db socket
fixed pump search bug - needed location id