Run custom hook scripts on Foreman events