Add path and host in struct for storage