adding cif_remote options, cleaning up logging