sitestatic and media dir defined