Added line to return if not logging in interactively.