Add comment to new safe_execute function