adding exec to scope_guard, SCOPE_GUARD macro