added static and media dirs