include authentication keys
save flags from checkboxes