Changed flags to meta data and added better description