Add development and media flag detection