Add images and set subcontexts via json_prolog when symbolic log says so
Fix set_subaction query