Fix view script config