Add data to scope variables