Edit view script