added static pathing and media root