Updated the hook to test just the staging version of the file