I removed the whole file and put the 8 lines of useful code in the QSD view.