changed the settings to serve the right static dir and templates accordingly