Moved to npm hook