expand flags from hosts