Using pathauto hook instead of node hook