change settings to support static files, templates dir