No, you wouldn't have mafia code that referenced a user script (though god knows I'm tempted with briefcase).

I'm away from my dev environment, but it's probably writing automation in DailyDungeonRequest.java (or whatever it is), and referencing it from DailyDeedsPanel.java.