Call me stupid here but I pasted this into SSMS and it had a bunch of syntax errors (see below). Now you might say my studio is not set up the same as yours, but when you post a script with very little information about it, what I expect is that it will just run. This might be useful, but honestly I don't want to spend the time debugging it to find out.
Msg 102, Level 15, State 1, Procedure vw_index_usage, Line 3
Incorrect syntax near '?'.
Msg 102, Level 15, State 1, Procedure vw_index_usage, Line 5
Incorrect syntax near 'MB'.
Msg 102, Level 15, State 1, Procedure vw_index_usage, Line 6
Incorrect syntax near 'cols'.
Msg 102, Level 15, State 1, Procedure vw_index_usage, Line 7
Incorrect syntax near 'included'.