Run erlang hooks at once