fix to include missing hooks for handling thumbs

This code was left out of the last commit