Add script to run things on masters