changes to log message and added run_action