use --settings flag instead of DEBUG env var (fixes #9)