Added scripts to render views