add attachment saving on host
fix images