Added application variables to views