Add history to scope