#21956 added hooks for photoshop