Add code to execute actions