Updated settings variable check. added no settings error message