log error if flag does not exist, don't die
add in stub for default flags