added Media to views
added variable to media selector element
conflict fix