added view scripts