Missed some admin media prefix references
removing commented code
Unnecessary reference to settings removed