added settings import so that getattr works