Custom Script for a Batched Job in Monitor