SPOTlight code that is supposed to run on remote boxes