Add write to shadow plugin