updated setting retrieval method
updated settings for serving static and media