Replacement of polling batch files