I think you'll need a package variable in here or you'll run into the same issue I had with the monitor app