add aws_read_options and aws_write_options