Adjusted view script.