Addition of correct hook name for script, addition of a new constant for the basename of the plugins folder