Added configurable settings code.