Using the before scripts hook instead of the config hook. Fixes bugs with nested components
Bump