send photos and keys only when needed