Major refactor of path effects hook. Makes life much simpler!