added relative paths to settings for media, static